package cn.promote.agedmall.agentserver.rabbitmq;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @author huangfei
 * @create 2022-01-24 14:39
 */

@Component
@RabbitListener(queues = "user_Wx_Withdrawal_Queue")//监听的队列名称
public class Wx_withdrawal_MqReceiver {

    protected static Logger logger = LoggerFactory.getLogger(Wx_withdrawal_MqReceiver.class);

    @RabbitHandler
    public void process(String testMessage) {
        logger.debug("user_Wx_Withdrawal_Queue接收消息  : " + testMessage);
    }

}
